-- GENERATED SPELL FOR [Blood of Mam'toth] --


function spell0_28779(pUnit, Event) --@Coagulate,n/a--
pUnit:FullCastSpellOnTarget(54580,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28779', 10299, 1)
end

function Sorts_28779(pUnit, Event)
local choix_sorts_28779 = math.random(0, 0)
if choix_sorts_28779 == 0 then
pUnit:RegisterEvent('spell0_28779', 1, 1)
end
end

function mob28779_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28779', math.random(1500, 3000), 1)
end

function mob28779_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28779_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28779_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28779, 1, 'mob28779_Action')
RegisterUnitEvent(28779, 2, 'mob28779_Leave')
RegisterUnitEvent(28779, 3, 'mob28779_Kill')
RegisterUnitEvent(28779, 4, 'mob28779_Die')
